package com.pine.app.module.security.core.authorize.metadataSource;

import com.pine.app.module.security.core.matcher.RequestMatcher;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

/**
 * @author xiaoyuan
 * @create 2020/3/23
 **/
public interface SecurityMetadataSource {

    Map<RequestMatcher,List<ConfigAttribute>> getConfig();

    List<ConfigAttribute> getConfigAttribute(HttpServletRequest request);

    void setConfig( Map<RequestMatcher,List<ConfigAttribute>> matcherListMap);
}
